#!/bin/sh

if [ ! -e /opt/var/log/freshclam.log ]; then
  touch /opt/var/log/freshclam.log
  chown clamav:clamav /opt/var/log/freshclam.log
fi

/opt/bin/freshclam --checks=24 --daemon --user=clamav --log=/opt/var/log/freshclam.log

